package com.ph.irp.base.assistantmaterial.service;

import java.io.Serializable;
import java.util.List;

import com.ph.irp.model.PBaseAssistantmaterialArea;

public interface PBaseAssistantmaterialAreaService extends Serializable {
	
	public void addArea(PBaseAssistantmaterialArea area) throws Throwable;
	public void deleteArea(String[] areaIds) throws Throwable;
	public void updateArea(PBaseAssistantmaterialArea area) throws Throwable;
	public PBaseAssistantmaterialArea getAreasById(int areaId) throws Throwable;
	public List<PBaseAssistantmaterialArea> getAllAreas() throws Throwable;
	public List<PBaseAssistantmaterialArea> getAreasByCode(String areaCode) throws Throwable;
	public List<PBaseAssistantmaterialArea> getAreasByName(String areaName) throws Throwable;
	public List<PBaseAssistantmaterialArea> getAreasByCodeAndName(String areaCode, String areaName) throws Throwable;
	public List<PBaseAssistantmaterialArea> getAreas(PBaseAssistantmaterialArea area) throws Throwable;

}
